package net.intellect.collectpro.util;

import java.util.Comparator;

import net.intellect.collectpro.objects.ScoreLiberacion;

public class MontoLiberacionComparator implements Comparator<ScoreLiberacion> {

	/**
	 * Ordena de menor a mayor
	 */
	public int compare(ScoreLiberacion l1, ScoreLiberacion l2) {  
	    return (int)(l1.getMonto()-l2.getMonto());  	
	}

  public boolean equals(Object o) {
	    return this == o;
	  }
}

